﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace CodeMan.Migrations
{
    public partial class changenameatt : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Type",
                table: "ClassAttribute",
                newName: "AType");

            migrationBuilder.RenameColumn(
                name: "Desc",
                table: "ClassAttribute",
                newName: "ADesc");

            migrationBuilder.RenameColumn(
                name: "Name",
                table: "ClassAttribute",
                newName: "AName");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "AType",
                table: "ClassAttribute",
                newName: "Type");

            migrationBuilder.RenameColumn(
                name: "ADesc",
                table: "ClassAttribute",
                newName: "Desc");

            migrationBuilder.RenameColumn(
                name: "AName",
                table: "ClassAttribute",
                newName: "Name");
        }
    }
}
